package cn.iocoder.yudao.module.train.controller.admin.venue.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 场地新增/修改 Request VO")
@Data
public class VenueSaveReqVO {

    @Schema(description = "场地ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1808")
    private Integer id;

    @Schema(description = "场地编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "场地编码不能为空")
    private String venueNo;

    @Schema(description = "容纳人数", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "容纳人数不能为空")
    private Integer capacity;

    @Schema(description = "面积")
    private BigDecimal area;

    @Schema(description = "场地类型", example = "1")
    private String venueType;

}